# 随机生成100个产品ID，ID格式如下
# 顺序的数字6位，分隔符点号，10个随机小写英文字符
# 举例，000005.xcbaaduixy
import random

l_numb = ['{0:06d}'.format(i) for i in range(1,101)]
l_str_r =  ["".join(random.choices([chr(i) for i in range(97,123)],k=10)) for i in range(100)]

products = [l_numb[i] + '.' + l_str_r[i]  for i in range(100)]
print(products)

# 做得不错
